package cz.hanis.android.geography.comparator;

import java.util.Comparator;

import cz.hanis.android.geography.models.Country;

public class ByAlphabetComparator implements Comparator<Country> {

	@Override
	public int compare(Country country1, Country country2) {
		return country1.getName().compareTo(country2.getName());		
	}
	
}
